



//
//  NShenbaoTypeCell.m
//  nncloud
//
//  Created by macfai on 2018/11/22.
//  Copyright © 2018 macfai. All rights reserved.
//

#import "NShenbaoTypeCell.h"

@implementation NShenbaoTypeCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = 0;
    // Initialization code
}

-(void)setModel:(NShenbaoTypeModel *)model{

    
    _model = model;
    self.name.text = model.projectDeclarationTitle;
    self.levelLab.text = model.projectDeclarationLevel;
    self.keshiLab.text = model.projectDeclarationDept;
    NSString *start = [[ToolKit getTimeFromTimesTamp:model.projectDeclarationStartTime] substringToIndex:10];
    NSString *end = [[ToolKit getTimeFromTimesTamp:model.projectDeclarationEndTime] substringToIndex:10];
    self.timeLab.text = [NSString stringWithFormat:@"%@-%@",start,end];
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
